import {get, post} from "../util/request";
import {Feed} from "../sql/domin";

export function syncAuditBzz(feeds:Feed[]){
    return post('/api/sync/audit/bzz',feeds)
}

export function refreshAuditBzz(){
    return get('/api/refresh/audit/bzz')
}

export function syncAuditHead(feeds:Feed[]){
    return post('/api/sync/audit/head',feeds)
}

export function refreshAuditHead(){
    return get('/api/refresh/audit/head')
}
